	<h3 class="meTitle"><strong>企业资料</strong></h3>
        <div class="postForm">
            <p>
                <label class="fleft">公司名称：</label>
                <span class="inputinfo">
                	<input type="text" id="company" style="width:150px" class="intxt" value="<?php echo isset($company_info['unit_name'])?$company_info['unit_name']:'';?>" disabled="disabled" />
                	*<span id="_uname">(企业会员公司名称,已锁定)</span>
                </span>
          </p>
          <p>
            <label class="fleft">公司产品：</label>
            <span class="inputinfo">
            	<input type="text" name="product" id="product" style="width:250px" class="intxt" value="<?php echo isset($company_info['product'])?$company_info['product']:'';?>" />
            </span>
          </p>
          <p><label>目前所在地：</label>
            <select name="province_id" id="address_province" class="enumselect" onchange="get_category(this.value, 'address_city', 'city', 0);">
                <option value="" >--请选择--</option>
                <?php foreach ($provinces as $k=>$v):?>
                <option <?php if(isset($company_info['province_id'])&&$company_info['province_id']==$k):?>selected="selected"<?php endif;?> value="<?php echo $k;?>"><?php echo $v;?></option>
                <?php endforeach;?>
            </select>　
            <select name="city_id"  id='address_city' url="<?php echo base_url($this->_site_path . '/company/get_category');?>" onchange="get_category(this.value, 'address_county', 'county', 0);"></select>　
            <select name="county_id"  id='address_county' url="<?php echo base_url($this->_site_path . '/company/get_category');?>"></select>
        </p>
        <p><label>行业：</label>
	        <select name="industry_id[]" id="vocation" class="enumselect" onchange="get_category(this.value, 'industry_category', 'member_company_industry', 0);">
	            <option value="">---请&nbsp;选&nbsp;择---</option>
	            <?php foreach ($company_industry as $k=>$v):?>
		        <option <?php if(isset($company_info['industry_pid'])&&$company_info['industry_pid']==$k):?>selected="selected"<?php endif;?> value="<?php echo $k;?>"><?php echo $v;?></option>
		        <?php endforeach;?>
        	</select>　
        <select name="industry_id[]"  id='industry_category' url="<?php echo base_url($this->_site_path . '/company/get_category');?>"></select>
        </p>
        <p><label>公司规模：</label> 
	        <select name="scale_id" id="cosize" class="enumselect">
	        	<option value="">--请选择--</option>
	            <?php foreach ($company_scale as $k=>$v):?>
                <option <?php if(isset($company_info['scale_id'])&&$company_info['scale_id']==$k):?>selected="selected"<?php endif;?> value="<?php echo $k;?>"><?php echo $v;?></option>
                <?php endforeach;?>
	        </select>
        </p>
        <p>
            <label class="fleft">电话号码：</label>
            <span class="inputinfo"><input type="text" name="tel" id="tel" class="intxt" value="<?php echo isset($company_info['tel'])?$company_info['tel']:'';?>" /></span>
        </p>
		<p>
            <label class="fleft">联系人：</label>
            <span class="inputinfo"><input type="text" name="contact_man" id="linkman" class="intxt" value="<?php echo isset($company_info['contact_man'])?$company_info['contact_man']:'';?>" /></span>
        </p>
        <p>
            <label class="fleft">手机：</label>
            <span class="inputinfo"><input type="text" name="mobile" id="mobile" class="intxt" value="<?php echo isset($company_info['mobile'])?$company_info['mobile']:'';?>" /></span>
        </p>
        <p>
            <label class="fleft">地址：</label>
            <span class="inputinfo"><input type	="text" name="address" id="url" class="intxt" value="<?php echo isset($company_info['address'])?$company_info['address']:'';?>" /></span>
        </p>
        <p>
            <label class="fleft">公司简介：</label>
            <span class="inputinfo"><textarea name="introduction" id="introduce" style="width:90%;height:80px"><?php echo isset($company_info['introduction'])?$company_info['introduction']:'';?></textarea></span>
        </p>
        <p>
            <label class="fleft">公司标志：</label>
            <input name="logo" type="file" id="comface"  class="intxt"  />
		</p>
        <p>
           <label>&nbsp;</label>
           <input type="hidden" name="flag" value="company_info">
           <button type="submit" id="btnSignCheck" class="buttonGreen142">完 成 </button>
      </p>   
    </div>
    
    <script type="text/javascript">
	    //企业资料验证
		function checkCompanyInfo(form){
			var tel = form.tel.value;
			var partten = /^0(\d{3})-\d{7,8}$/;
			if(tel && !partten.test(tel)){
				alert('电话号码格式不正确！');
				return false;
			}
			var mobile = form.mobile.value;
			var partten = /^1\d{10}$/;
			if(mobile && !partten.test(mobile)){
				alert('手机格式不正确！');
				return false;
			}
			return true;
		}
		$(function(){
			//获取市
			<?php if($company_info['province_id']):?>
			get_category(<?php echo $company_info['province_id'];?>, 'address_city', 'city', <?php echo isset($company_info['city_id'])?$company_info['city_id']:0;?>);
			<?php endif;?>
			//获取县
			<?php if($company_info['city_id']):?>
			get_category(<?php echo $company_info['city_id'];?>, 'address_county', 'county', <?php echo isset($company_info['county_id'])?$company_info['county_id']:0;?>);
			<?php endif;?>
			//获取行业子类
			<?php if($company_info['industry_id']):?>
			get_category(<?php echo $company_info['industry_pid'];?>, 'industry_category', 'member_company_industry', <?php echo $company_info['industry_pid']!=$company_info['industry_id']?$company_info['industry_id']:0;?>);
			<?php endif;?>
		})
	</script>    
